home *** CD-ROM | disk | FTP | other *** search
-
-
-
- lllliiiinnnnkkkk((((2222)))) lllliiiinnnnkkkk((((2222))))
-
-
-
- NNNNAAAAMMMMEEEE
- link, linkfollow - link to a file
-
- CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<uuuunnnniiiissssttttdddd....hhhh>>>>
-
- iiiinnnntttt lllliiiinnnnkkkk ((((ccccoooonnnnsssstttt cccchhhhaaaarrrr ****ppppaaaatttthhhh1111,,,, ccccoooonnnnsssstttt cccchhhhaaaarrrr ****ppppaaaatttthhhh2222))));;;;
-
- iiiinnnntttt lllliiiinnnnkkkkffffoooolllllllloooowwww ((((ccccoooonnnnsssstttt cccchhhhaaaarrrr ****ppppaaaatttthhhh1111,,,, ccccoooonnnnsssstttt cccchhhhaaaarrrr ****ppppaaaatttthhhh2222))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _p_a_t_h_1 points to a path name naming an existing file. _p_a_t_h_2 points to a
- path name naming the new directory entry to be created. _llll_iiii_nnnn_kkkk creates a
- new link (directory entry) for the existing file and increments its link
- count by one.
-
- Upon successful completion, _llll_iiii_nnnn_kkkk marks for update the _ssss_tttt______cccc_tttt_iiii_mmmm_eeee field of
- the file. Also, the _ssss_tttt______cccc_tttt_iiii_mmmm_eeee and _ssss_tttt______mmmm_tttt_iiii_mmmm_eeee fields of the directory that
- contains the new entry are marked for update.
-
- _llll_iiii_nnnn_kkkk_ffff_oooo_llll_llll_oooo_wwww is identical to _llll_iiii_nnnn_kkkk unless _p_a_t_h_1 refers to a symbolic link.
- If _p_a_t_h_1 is a symbolic link, _llll_iiii_nnnn_kkkk will make a link to the symbolic link;
- _llll_iiii_nnnn_kkkk_ffff_oooo_llll_llll_oooo_wwww will make a link to the object that the symbolic link refers
- to, and will fail if the symbolic link does not refer to any object.
-
- _llll_iiii_nnnn_kkkk will fail and no link will be created if one or more of the
- following are true:
-
- _EEEE_AAAA_CCCC_CCCC_EEEE_SSSS Search permission is denied on a component of one of
- the path prefixes.
-
- _EEEE_AAAA_CCCC_CCCC_EEEE_SSSS Write permission is denied on the directory in which
- the link is to be created.
-
- _EEEE_AAAA_CCCC_CCCC_EEEE_SSSS Write permission is denied on the file named by
- _p_a_t_h_1.
-
- _EEEE_EEEE_XXXX_IIII_SSSS_TTTT The link named by _p_a_t_h_2 exists.
-
- _EEEE_FFFF_AAAA_UUUU_LLLL_TTTT _p_a_t_h_1 or _p_a_t_h_2 points outside the allocated address
- space of the process.
-
- _EEEE_IIII_NNNN_TTTT_RRRR A signal was caught during the _llll_iiii_nnnn_kkkk system call.
-
- _EEEE_LLLL_OOOO_OOOO_PPPP Too many symbolic links were encountered in
- translating _p_a_t_h_1 or _p_a_t_h_2.
-
- _EEEE_MMMM_LLLL_IIII_NNNN_KKKK The maximum number of links to a file would be
- exceeded.
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- lllliiiinnnnkkkk((((2222)))) lllliiiinnnnkkkk((((2222))))
-
-
-
- _EEEE_MMMM_UUUU_LLLL_TTTT_IIII_HHHH_OOOO_PPPP Components of _p_a_t_h_1 or _p_a_t_h_2 require hopping to
- multiple remote machines and file system type does
- not allow it.
-
- _EEEE_TTTT_IIII_MMMM_EEEE_DDDD_OOOO_UUUU_TTTT A component of _p_a_t_h_1 or _p_a_t_h_2 is located on a remote
- file system which is not available [see _iiii_nnnn_tttt_rrrr_oooo(2)].
-
- _EEEE_NNNN_AAAA_MMMM_EEEE_TTTT_OOOO_OOOO_LLLL_OOOO_NNNN_GGGG The length of the _p_a_t_h_1 or _p_a_t_h_2 argument exceeds
- {_PPPP_AAAA_TTTT_HHHH______MMMM_AAAA_XXXX}, or the length of a _p_a_t_h_1 or _p_a_t_h_2
- component exceeds {_NNNN_AAAA_MMMM_EEEE______MMMM_AAAA_XXXX} while ______PPPP_OOOO_SSSS_IIII_XXXX______NNNN_OOOO______TTTT_RRRR_UUUU_NNNN_CCCC is
- in effect.
-
- _EEEE_NNNN_OOOO_TTTT_DDDD_IIII_RRRR A component of either path prefix is not a directory.
-
- _EEEE_NNNN_OOOO_EEEE_NNNN_TTTT _p_a_t_h_1 or _p_a_t_h_2 is a null path name.
-
- _EEEE_NNNN_OOOO_EEEE_NNNN_TTTT A component of either path prefix does not exist.
-
- _EEEE_NNNN_OOOO_EEEE_NNNN_TTTT The file named by _p_a_t_h_1 does not exist.
-
- _EEEE_NNNN_OOOO_LLLL_IIII_NNNN_KKKK _p_a_t_h_1 or _p_a_t_h_2 points to a remote machine and the
- link to that machine is no longer active.
-
- _EEEE_NNNN_OOOO_SSSS_PPPP_CCCC The directory that would contain the link cannot be
- extended.
-
- _EEEE_PPPP_EEEE_RRRR_MMMM The file named by _p_a_t_h_1 is a directory.
-
- _EEEE_RRRR_OOOO_FFFF_SSSS The requested link requires writing in a directory on
- a read-only file system.
-
- _EEEE_XXXX_DDDD_EEEE_VVVV The link named by _p_a_t_h_2 and the file named by _p_a_t_h_1
- are on different logical devices (file systems).
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- _ssss_yyyy_mmmm_llll_iiii_nnnn_kkkk(2), _uuuu_nnnn_llll_iiii_nnnn_kkkk(2), _rrrr_eeee_aaaa_llll_pppp_aaaa_tttt_hhhh(3).
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- Upon successful completion, a value of 0 is returned. Otherwise, a value
- of -1 is returned and _eeee_rrrr_rrrr_nnnn_oooo is set to indicate the error.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-